/*
The buffer.h header file defines constants for the keyboard buffer
*/

#ifndef _BUFFER_H
#define _BUFFER_H

/* from lib files */
#include <types.h>

#define KBD_BUFFER_SIZE      4096

/* Functions prototypes */
extern void buffer_initialize(void);
extern int buffer_enqueue(int n);
extern int buffer_dequeue(int *n);
extern int buffer_empty(void);
extern int buffer_full(void);
extern void buffer_clear(void);

#endif /* _BUFFER_H */
